import '../commons/common.js'

import './hotel.less'


import {createCalenderMount} from './calender.js'

createCalenderMount($('.calender-container'))


$(function() {
    $(".swiper-container").swiper();
});

$('.folder').click(function(){
    var $this = $(this)
    if($this.hasClass('close')){
        var allDesc =$('.js-all-desc').text()
        $('.js-hotel-desc').text(allDesc)
        $this.text('收起')
    }else{
        var lessDesc = $('.js-less-desc').text();
        $('.js-hotel-desc').text(lessDesc)
        $this.text('...展开')
    }
    $this.toggleClass('close')
})